package indi.zhifa.recipe.bailan5.coupon.handler;

import indi.zhifa.recipe.bailan.framework.queue.handler.IRedisMsgErrHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * Description: 
 * @Copyright: Copyright (c) 2020-2028 北京华咨电力科技发展有限公司 All rights reserved.
 * @author: 褚智勇(hataksumo@163.com)
 * @date:  2022/5/12 15:29
 */
@Component
@Slf4j
public class MsgErrorHandler implements IRedisMsgErrHandler {
    @Override
    public void handleError(Throwable t) {
        log.error(t.getMessage());
    }
}
